package models

type Label struct {
	Id        int64    `json:"id" orm:"pk;auto"`
	LabelName string `json:"label_name" orm:"unique"`
	Blogs 	 []*Blog `orm:"reverse(many)"` //反向多对多
}

func (u *Label) TableName() string {
	return TableName("label")
}
